#include <stdio.h>
#include <stdlib.h>
#include <inttypes.h>
#include <unistd.h>
#include <string.h>

struct myChkStc
{
    int16_t x;
    int32_t y;
};

int main(int argc, char **argv)
{
    {
        char a[3];
        printf("[%s,%d]char ptr,a=%p, a+1=%p\n", __FILE__, __LINE__, a, a + 1);
    }
    {
        int a[3];
        printf("[%s,%d]int ptr,a=%p, a+1=%p\n", __FILE__, __LINE__, a, a + 1);
    }
    {
        struct myChkStc a[3];
        printf("[%s,%d]int ptr,a=%p, a+1=%p\n", __FILE__, __LINE__, a, a + 1);
    }
    {
        float a[3][3];
        printf("[%s,%d]float[] ptr,a=%p, a+1=%p\n", __FILE__, __LINE__, a, a + 1);
    }
    {
        void *a = NULL;
        printf("[%s,%d]void ptr,a=%p, a+1=%p\n", __FILE__, __LINE__, a, a + 1);
    }
    {
        printf("[%s,%d]calc ptr,a=%p, a+1=%p\n", __FILE__, __LINE__, (struct myChkStc *)0, (struct myChkStc *)0 + 1);
    }
    return 1;
}
